﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SportsStore.Domain.Abstract;
using SportsStore.Domain.Entities;

namespace SportsStore.Domain.Concrete
{
    public class FakeProductsRepository : IProductsRepository
    {
        private static IQueryable<Product> fakeProducts = new List<Product> {
            new Product {Name = "FootBall", Price= 25},
            new Product{ Name="Surf board", Price= 179},
            new Product{ Name="Running shoes", Price= 95}
        }.AsQueryable();
        public IQueryable<Entities.Product> Products
        {
            get { return fakeProducts; }
        }
    }
}
